import request from '@/utils/request'

// 查询学生表1列表
export function listStudents1(query) {
  return request({
    url: '/system/students1/list',
    method: 'get',
    params: query
  })
}

// 查询学生表1详细
export function getStudents1(studentId) {
  return request({
    url: '/system/students1/' + studentId,
    method: 'get'
  })
}

// 新增学生表1
export function addStudents1(data) {
  return request({
    url: '/system/students1',
    method: 'post',
    data: data
  })
}

// 修改学生表1
export function updateStudents1(data) {
  return request({
    url: '/system/students1',
    method: 'put',
    data: data
  })
}

// 删除学生表1
export function delStudents1(studentId) {
  return request({
    url: '/system/students1/' + studentId,
    method: 'delete'
  })
}
